package org.example.annot;
import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Inherited
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCache {
    String rediskey();

    String itemkey() default "";

    long timeout() default 1;
    TimeUnit timeUnit() default TimeUnit.HOURS;
}
